package invoking

import (
	"github.com/simplechain-org/go-simplechain/accounts/keystore"
)

type Service interface {
	// IsTracedAccount 是否追踪某个账户
	IsTracedAccount(receiptIDHash, accountNumberHash string) (isTraced bool, err error)

	// GetPendingNonce 获取账户的nonce
	GetPendingNonce(account *keystore.Key) (nonce int64)
}
